Warning: 1 error encountered for stl
[1] .data contains implicit gaps in time. You should check your data and convert implicit gaps into explicit missing values using `tsibble::fill_gaps()` if required.
print(decomp)
# A mable: 1 x 1
stl
<model>
1 <NULL model>
if ("stl"%in%class(decomp)) { components <- decomp %>%components()autoplot(components) +labs(title ="Decomposition of Streamflow Data", subtitle ="Trend, Seasonal, and Residual Components")} else {print("Model fitting did not succeed.")}